﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;

namespace BackupRestore.BackupRestoreFramework
{
    /// <summary>
    /// This class performs back up of the files/folders specificed in the provided BackupSpecification object
    /// </summary>
    class Backup
    {
        private static string _className;

        /// <summary>
        /// The BackupSpecification that will be used for performing the backup
        /// </summary>
        private BackupSpecification Specification;

        public Backup(BackupSpecification specification)
        {
            _className = MethodBase.GetCurrentMethod().DeclaringType.Name;

            // Assign specification to the value provided
            this.Specification = specification;
        }
    }
}
